package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 物流调拨单 数据库实体
 *
 * @author default
 * @date 2022-11-10
 */
@Data
@TableName("t_logistics_transfer_order")
public class LogisticsTransferOrder extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String ORDER_TYPE ="order_type";

    public static final String ORDER_STATUS ="order_status";

    public static final String IN_SUB_WAREHOUSE_CODE ="in_sub_warehouse_code";

    public static final String IN_SUB_WAREHOUSE_NAME ="in_sub_warehouse_name";

    public static final String OUT_SUB_WAREHOUSE_CODE ="out_sub_warehouse_code";

    public static final String OUT_SUB_WAREHOUSE_NAME ="out_sub_warehouse_name";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";

    public static final String FLOW_ID ="flow_id";


    /** 物流调拨单号 */
    private String orderNo;

    /** 枚举 订单类型:1-销售调拨(t1)|2-物流调拨换仓(t2)|3-物流调拨转境内(t3) */
    private Integer orderType;

    /** 枚举 订单状态:1-草稿(s1)|2-审批中(s2)|3-调拨中(s3)|4-完成(s4) */
    private Integer orderStatus;

    /** 收货分仓编码 */
    private String inSubWarehouseCode;

    /** 收货分仓名称 */
    private String inSubWarehouseName;

    /** 发货分仓编码 */
    private String outSubWarehouseCode;

    /** 发货分仓名称 */
    private String outSubWarehouseName;

    /** 制单人账号 */
    private String createUserCode;

    /** 制单人名称 */
    private String createUserName;

    /** 审批流程ID */
    private String flowId;

}
